package com.edu.ujn.myh.domain;

// default package

import java.util.HashSet;
import java.util.Set;

/**
 * ProfessorInfo entity. @author MyEclipse Persistence Tools
 */

public class ProfessorInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userName;
	private String passWord;
	private String college;
	private String area;
	private String remark;
	private Set articleProInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public ProfessorInfo() {
	}

	/** minimal constructor */
	public ProfessorInfo(String userName, String passWord, String college,
			String area) {
		this.userName = userName;
		this.passWord = passWord;
		this.college = college;
		this.area = area;
	}

	/** full constructor */
	public ProfessorInfo(String userName, String passWord, String college,
			String area, String remark, Set articleProInfos) {
		this.userName = userName;
		this.passWord = passWord;
		this.college = college;
		this.area = area;
		this.remark = remark;
		this.articleProInfos = articleProInfos;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return this.passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getCollege() {
		return this.college;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getArticleProInfos() {
		return this.articleProInfos;
	}

	public void setArticleProInfos(Set articleProInfos) {
		this.articleProInfos = articleProInfos;
	}

}